/*
 * 项目名称:    wms-server-jeecg
 * 创建人员:    hansen
 * 创建时间:    2024-01-26
 */
package org.jeecg.modules.dock.client;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Body;
import com.dtflys.forest.annotation.ForestClient;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.converter.json.ForestJacksonConverter;
import io.swagger.util.Json;
import org.jeecg.modules.dock.constant.SystemConstants;
import org.jeecg.modules.dock.entity.mes.response.PalletCodeQueryResponseVO;
import org.jeecg.modules.dock.entity.vms.request.VMSRequestVO;
import org.jeecg.modules.dock.entity.vms.response.VMSResponseVO;
import org.jeecgframework.minidao.annotation.Param;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * VMS对接接口
 *
 * @author hansen
 * @version 1.0.0
 * @date 2024-01-26 09:01:00
 */
@BaseRequest(
        baseURL = "${vmsAddress}",
        headers = {"~request_method:POST", "content-Type:application/json", SystemConstants.SYS_HEADER + ":" + SystemConstants.VMS}
)
@ForestClient
public interface VMSRequestClient extends BaseRequestClient{

    /**
     * 信号触发接口
     *
     * @author hansen
     * @since 2024/1/26 9:22
     * @param baseId
     * @return org.jeecg.modules.dock.entity.vms.response.VMSResponseVO
     */
    @Post(value = "/v4/base/trigger", decoder = ForestJacksonConverter.class)
    VMSResponseVO signalTrigger(@Body String baseId);

}
